<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Clause: cppjieba::Jieba类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Clause
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Chatopera Language Understanding Service.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="modules.html"><span>模块</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="inherits.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>cppjieba</b></li><li class="navelem"><a class="el" href="classcppjieba_1_1Jieba.html">Jieba</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="classcppjieba_1_1Jieba-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">cppjieba::Jieba类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
cppjieba::Jieba 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="classcppjieba_1_1Jieba__coll__graph.png" border="0" usemap="#cppjieba_1_1Jieba_coll__map" alt="Collaboration graph"/></div>
<map name="cppjieba_1_1Jieba_coll__map" id="cppjieba_1_1Jieba_coll__map">
<area shape="rect" id="node2" href="classcppjieba_1_1KeywordExtractor.html" title="cppjieba::KeywordExtractor" alt="" coords="5,5,199,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcppjieba_1_1Jieba_1_1LocWord.html">LocWord</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a70a0f7fc2a207351c61ab763387eebe0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a70a0f7fc2a207351c61ab763387eebe0"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Jieba</b> (const string &amp;dict_path, const string &amp;model_path, const string &amp;user_dict_path, const string &amp;idfPath, const string &amp;stopWordPath)</td></tr>
<tr class="separator:a70a0f7fc2a207351c61ab763387eebe0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2fe7905e3986f16a8b452e13c281765"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa2fe7905e3986f16a8b452e13c281765"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Cut</b> (const string &amp;sentence, vector&lt; string &gt; &amp;words, bool hmm=true) const </td></tr>
<tr class="separator:aa2fe7905e3986f16a8b452e13c281765"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb756574b3a07da5e096a14f1bb0a2da"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adb756574b3a07da5e096a14f1bb0a2da"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Cut</b> (const string &amp;sentence, vector&lt; <a class="el" href="structcppjieba_1_1Word.html">Word</a> &gt; &amp;words, bool hmm=true) const </td></tr>
<tr class="separator:adb756574b3a07da5e096a14f1bb0a2da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2378a14b8352cff854f06bf884feb152"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2378a14b8352cff854f06bf884feb152"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>CutAll</b> (const string &amp;sentence, vector&lt; string &gt; &amp;words) const </td></tr>
<tr class="separator:a2378a14b8352cff854f06bf884feb152"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe8e988434ec0d4dc4b0dc41ebba4147"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afe8e988434ec0d4dc4b0dc41ebba4147"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>CutAll</b> (const string &amp;sentence, vector&lt; <a class="el" href="structcppjieba_1_1Word.html">Word</a> &gt; &amp;words) const </td></tr>
<tr class="separator:afe8e988434ec0d4dc4b0dc41ebba4147"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e3e02cd0fa9537d327379612fdb12a1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6e3e02cd0fa9537d327379612fdb12a1"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>CutForSearch</b> (const string &amp;sentence, vector&lt; string &gt; &amp;words, bool hmm=true) const </td></tr>
<tr class="separator:a6e3e02cd0fa9537d327379612fdb12a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad433d9787240f4a52d4714e93c923f2c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad433d9787240f4a52d4714e93c923f2c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>CutForSearch</b> (const string &amp;sentence, vector&lt; <a class="el" href="structcppjieba_1_1Word.html">Word</a> &gt; &amp;words, bool hmm=true) const </td></tr>
<tr class="separator:ad433d9787240f4a52d4714e93c923f2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab69bfa956b3713af10d59cb2a7bd05b6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab69bfa956b3713af10d59cb2a7bd05b6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>CutHMM</b> (const string &amp;sentence, vector&lt; string &gt; &amp;words) const </td></tr>
<tr class="separator:ab69bfa956b3713af10d59cb2a7bd05b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a440251ab0c123ab9cf1e729e71cbb05e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a440251ab0c123ab9cf1e729e71cbb05e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>CutHMM</b> (const string &amp;sentence, vector&lt; <a class="el" href="structcppjieba_1_1Word.html">Word</a> &gt; &amp;words) const </td></tr>
<tr class="separator:a440251ab0c123ab9cf1e729e71cbb05e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70f215c09deb8f7eb02a3c53f925590d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a70f215c09deb8f7eb02a3c53f925590d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>CutSmall</b> (const string &amp;sentence, vector&lt; string &gt; &amp;words, size_t max_word_len) const </td></tr>
<tr class="separator:a70f215c09deb8f7eb02a3c53f925590d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1af7d3b2bf97cf893ab2a32fcf03c79"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab1af7d3b2bf97cf893ab2a32fcf03c79"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>CutSmall</b> (const string &amp;sentence, vector&lt; <a class="el" href="structcppjieba_1_1Word.html">Word</a> &gt; &amp;words, size_t max_word_len) const </td></tr>
<tr class="separator:ab1af7d3b2bf97cf893ab2a32fcf03c79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ab56ad6e997e225ec6cbd6032812ae8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2ab56ad6e997e225ec6cbd6032812ae8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Tag</b> (const string &amp;sentence, vector&lt; pair&lt; string, string &gt; &gt; &amp;words) const </td></tr>
<tr class="separator:a2ab56ad6e997e225ec6cbd6032812ae8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adabd788047ebd05372cf35eb3d987116"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adabd788047ebd05372cf35eb3d987116"></a>
string&#160;</td><td class="memItemRight" valign="bottom"><b>LookupTag</b> (const string &amp;str) const </td></tr>
<tr class="separator:adabd788047ebd05372cf35eb3d987116"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf5b61a4d3bd48d9d3692a0dffd9c389"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adf5b61a4d3bd48d9d3692a0dffd9c389"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>InsertUserWord</b> (const string &amp;word, const string &amp;tag=UNKNOWN_TAG)</td></tr>
<tr class="separator:adf5b61a4d3bd48d9d3692a0dffd9c389"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72e8294386a42b6c24ce8e114aa42649"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a72e8294386a42b6c24ce8e114aa42649"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>InsertUserWord</b> (const string &amp;word, int freq, const string &amp;tag=UNKNOWN_TAG)</td></tr>
<tr class="separator:a72e8294386a42b6c24ce8e114aa42649"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7627101abdafc1ff384556c50a3ab12"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7627101abdafc1ff384556c50a3ab12"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>Find</b> (const string &amp;word)</td></tr>
<tr class="separator:ad7627101abdafc1ff384556c50a3ab12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a327497723d4d44b6084ceecd393b6cc1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a327497723d4d44b6084ceecd393b6cc1"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>ResetSeparators</b> (const string &amp;s)</td></tr>
<tr class="separator:a327497723d4d44b6084ceecd393b6cc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81e70f0d5cb14b52deec38faf23434e5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a81e70f0d5cb14b52deec38faf23434e5"></a>
const <a class="el" href="classcppjieba_1_1DictTrie.html">DictTrie</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>GetDictTrie</b> () const </td></tr>
<tr class="separator:a81e70f0d5cb14b52deec38faf23434e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c84556ea1d1a3c0979d97243e8e2b3b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2c84556ea1d1a3c0979d97243e8e2b3b"></a>
const <a class="el" href="structcppjieba_1_1HMMModel.html">HMMModel</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>GetHMMModel</b> () const </td></tr>
<tr class="separator:a2c84556ea1d1a3c0979d97243e8e2b3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc405983df86ee447ce9962bf922d866"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acc405983df86ee447ce9962bf922d866"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>LoadUserDict</b> (const vector&lt; string &gt; &amp;buf)</td></tr>
<tr class="separator:acc405983df86ee447ce9962bf922d866"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d993143e1aee04942b30d0b4a54bcfd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1d993143e1aee04942b30d0b4a54bcfd"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>LoadUserDict</b> (const set&lt; string &gt; &amp;buf)</td></tr>
<tr class="separator:a1d993143e1aee04942b30d0b4a54bcfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33d6922d65f468525dbd13ea813c464b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a33d6922d65f468525dbd13ea813c464b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>LoadUserDict</b> (const string &amp;path)</td></tr>
<tr class="separator:a33d6922d65f468525dbd13ea813c464b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:abac8c5c0b457928ef2aabea6ebf442a9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abac8c5c0b457928ef2aabea6ebf442a9"></a>
<a class="el" href="classcppjieba_1_1KeywordExtractor.html">KeywordExtractor</a>&#160;</td><td class="memItemRight" valign="bottom"><b>extractor</b></td></tr>
<tr class="separator:abac8c5c0b457928ef2aabea6ebf442a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/jieba/include/cppjieba/<a class="el" href="Jieba_8hpp_source.html">Jieba.hpp</a></li>
</ul>
</div><!-- contents -->
<address class="footer">
    <small>
        &nbsp; Copyright (c) (2019-2020) &nbsp;<a href="https://www.chatopera.com">
            北京华夏春松科技有限公司
        </a>. All Rights Reserved
        &nbsp;
    </small>
</address>